package com.example.reflect;

public class someService {
// 反射机制的回顾
    public void doSome() {
        System.out.println("public void doSome()执行");
    }

    public String doSome(String s) {
        System.out.println("public String doSome(String s)执行");
        return s;
    }

    public String doSome(String s,int i) {
        System.out.println("public String doSome(String s,int i) 执行");
        return "Name: " + s + ", Age: " + i;
    }
}
